package com.eorchis.module.newsuserlink.ui.controller;

import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import com.eorchis.core.service.IBaseService;
import com.eorchis.core.ui.controller.AbstractBaseController;
import com.eorchis.module.newsuserlink.service.INewsUserLinkService;
import com.eorchis.module.newsuserlink.ui.commond.NewsUserLinkQueryCommond;
import com.eorchis.module.newsuserlink.ui.commond.NewsUserLinkValidCommond;

/**
 * Title: NewsUserLinkController<br>
 * Description: 消息用户关联表管理控制器<br>
 * Company: GoldGov<br>
 * Copyright @ 2012 GoldGov .All rights reserved.<br>
 * @author RongSL
 * @createDate 2016-05-06
 * @version $Revision$
 */
@Controller("newsUserLinkController")
@RequestMapping(value = NewsUserLinkController.MODULE_PATH)
public class NewsUserLinkController extends AbstractBaseController<NewsUserLinkValidCommond,NewsUserLinkQueryCommond> {
	// 模块页面根路径
	public static final String MODULE_PATH = "/module/newsuserlink";
	// 消息用户关联表接口
	@Resource(name = "com.eorchis.module.newsuserlink.service.impl.NewsUserLinkServiceImpl")
	private INewsUserLinkService newsUserLinkService;
	
	@Override
	public IBaseService getService() {
		return newsUserLinkService;
	}

	@Override
	public String getModulePath() {
		return MODULE_PATH;
	}
	
}
